<html>
<head>
	<meta charset="utf-8" />
	<title>{{the_title}}</title>
    <link rel="stylesheet" href="/static/css/login.css">
	<style>
        input::-webkit-input-placeholder{
            color:#FFFFFF;
        }
        input:-ms-input-placeholder{  /* Internet Explorer 10-11 */ 
            color:#FFFFFF;
        }
       
        p{
        	color:#FFFFFF;
        }
    </style>
</head>
<body>
    <div>
        <a href="/" style="display: inline; color:white">首页</a>
        <p style="display: inline; color:white" align="right">
            {% if 'username' in session %}
             | 欢迎，{{ session['username'] }}
            {% endif %}
        </p>
    </div>
	<form method="POST" action="/txt_correction" id="login-box">
	    <table>
            <h1>
                <br>文本纠错</b>
            </h1>
            <div>
                <p class="input-box">
                    <b>请输入文字</b>
                    <input type="text" name="txtcorr">
                </p>
                <p class="r">
                    纠错结果：
                    <label>{{word}}</label>
                </p>
                <p class="r">
                    <button type="submit">点击纠错</button>
                </p>
            </div>
        </table>
    </form>  


</body>
</html>